package com.vue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 菜单菜品表
 * </p>
 *
 * @author wangruijie
 * @since 2024-08-04
 */
@Data
@TableName("dishes_menu")
@EqualsAndHashCode(callSuper = false)
public class DishesMenuEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 菜品类型
     */
    private String dishesType;

    /**
     * 菜品名
     */
    private String dishesName;

    /**
     * 菜品图片
     */
    private String dishesPicture;

    /**
     * 菜品描述
     */
    private String dishesDescribe;

    /**
     * 菜品做法链接
     */
    private String dishesUrl;


}
